-- card: 9192 from stack: in.5 -- bmap block id: 0 -- flags: 0000 -- background id: 5683 -- name: foundChunk -- part contents for background part 7 ----- text ----- foundChunk -- part contents for background part 9 ----- text ----- Nouvelles fonctions HyperTalk Carte 2 sur 10 -- part contents for background part 8 ----- text ----- the foundChunk -- part contents for background part 10 ----- text ----- aucun -- part contents for background part 11 ----- text ----- Cette fonction renvoie la description de l'emplacement où la chaîne recherchée par la dernière commande Find a été localisée, sous la forme : char to of field . Si la recherche n'a pas abouti, la fonction renvoie une chaîne vide. -- part contents for background part 17 ----- text ----- --après exécution des commandes suivantes : find "Sophie" put the foundChunk --vous obtiendrez un résultat du type : char 1 to 7 of bkgnd field 6 --utilisation de foundChunk pour sélectionner la chaîne trouvée : find string userName in field "noms" select the foundChunk -- part contents for background part 18 ----- text ----- on foundChunkDemo --affiche l'emplacement de la chaîne trouvée find "HyperTalk" in field "ExempleScript" put the foundChunk wait 2 seconds --sélectionne la chaîne trouvée select the foundChunk wait 2 seconds cleanExit -- dans le script du fond courant end foundChunkDemo -- part contents for background part 31 ----- text ----- Find foundField foundLine foundText